<?php

$account="evony01@126.com";
$type=127;
$providetime=1363141776000;
$expiredtime=1364141776000;
$medalcount=1;
$orderid="evony_" + date("YmdHis");
//$key=md5("civony_{01dwjf4dl-1ipffdkd-7see3ad-9sdelnhs}");
$key = "00f76a4dce775c2abe1ed34ce2896965";
$sign=md5($account.$orderid.$providetime.$medalcount.$key);
//$url = "http://127.0.0.1:8081/web/api/logic/logicDispatcher?action=TopupPackageLogic&account=$account&chose=0&type=$type&providetime=1363141776000&expiredtime=1364141776000&description=testpack&medalcount=$medalcount&orderid=$orderid&sign=$sign";
$package="shamrock";
$username="ev7";
$presentflag=2;
$url = "http://127.0.0.1:8081/web/api/logic/logicDispatcher?action=CommonPackage&package=$package&account=$account&username=$username&presentflag=$presentflag";



echo file_get_contents($url);
